
function cambia(ncombo){

	var combo=document.getElementById(ncombo);
	
	var apellido_paterno=document.getElementById('apellido_paterno');
	var am=document.getElementById('am');
	var np=document.getElementById('np');
	document.getElementById('busca_apepat').value=""; 
	document.getElementById('busca_apemat').value=""; 
	document.getElementById('busca_nombre').value=""; 
	if(combo.value=="nombre"){
		apellido_paterno.innerHTML="&nbsp;Apellido Paterno";
		document.getElementById('busca_apepat').focus();
		am.style.visibility="visible";
		am.style.display="block";
	}
	if(combo.value=="admision"){
		apellido_paterno.innerHTML="&nbsp;N&ordm; Admisi&oacute;n";
		document.getElementById('busca_apepat').focus();
		am.style.visibility="hidden";
		am.style.display="none";
	}
    if(combo.value=="dni"){//agregado
        apellido_paterno.innerHTML="&nbsp;N&ordm; DNI";
		document.getElementById('busca_apepat').focus();
		am.style.visibility="hidden";
		am.style.display="none";
    }
}
